<template>
	<div class="wrapper">
		<header>
			<h1><span>生产过程管理系统可视化大屏</span></h1>
		</header>
		<div class="main">
			<div class="top-wrapper">
				<FiveItemStatistics></FiveItemStatistics>
			</div>
			<div class="up-wrapper">
				<LeftWrapper />
				<RightWrapper />
			</div>
		</div>
	</div>
</template>

<script>
import FiveItemStatistics from "./subassembly/five.vue"
import LeftWrapper from "./subassembly/left.vue"
import RightWrapper from "./subassembly/right.vue"
import { rainBg } from "./fn"

export default {
	components: { LeftWrapper, RightWrapper, FiveItemStatistics }
}
</script>

<style lang="scss" scoped>
@import "./outStyle.scss";

.wrapper {
	width: 100vw;
	height: 100vh;
	overflow: hidden;
	background: url("../../assets/images/dataBoard1.png") no-repeat center;
	background-size: cover;
	header {
		width: 100%;
		height: 4.75rem;
		background: url("../../assets/images/dataBoard2.png") no-repeat center;
		background-size: 100% 100%;
		overflow: hidden;
		display: flex;
		align-items: center;
	}
	header h1 {
		margin: auto;
		display: table;
	}
	header h1 span {
		font-size: 2rem;
		font-weight: bold;
		white-space: nowrap;
		letter-spacing: 4px;
		display: table-cell;
		vertical-align: bottom;
		color: white;
		font-family: ALIMAMASHUHEITI-BOLD;
	}
	.main {
		width: 100%;
		height: calc(100% - 4.75rem);
		box-sizing: border-box;
		padding: 0.875rem;
		overflow: hidden;
		position: relative;
		.top-wrapper {
			width: 100%;
			height: 25%;
			overflow: hidden;
			box-sizing: border-box;
		}
		.up-wrapper {
			width: 100%;
			height: 75%;
			overflow: hidden;
			box-sizing: border-box;
			display: flex;
			align-items: center;
			justify-content: space-between;
		}
		.rain {
			position: absolute;
			left: 0;
			top: 0;
			z-index: -1;
		}
	}
}
</style>

<style scoped>
::v-deep .el-input__inner {
	background-color: #164892;
	color: #fff;
	border: none;
}
::v-deep .el-range-input {
	background-color: #164892;
	color: white;
	width: 50%;
}
::v-deep .el-range-separator {
	color: #ffffff;
}
::v-deep .el-date-editor .el-range__close-icon {
	display: none;
}

::v-deep .el-date-editor .el-range__icon {
	color: #45b1df;
}

::v-deep .el-input__icon {
	color: #45b1df;
}
</style>
